/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 *
 */

/**
 * 报告实体
 *
 * @since 2022/8/18
 */
export class Report<T> {
  private readonly name: string;
  private readonly value: T;

  constructor(name: string, report: T) {
    this.name = name;
    this.value = report;
  }

  /**
   * 获取报告名
   */
  getName() {
    return this.name;
  }

  /**
   * 获取报告内容
   */
  getValue() {
    return this.value;
  }
}
